#ifndef ViewBase_h__
#define ViewBase_h__
#include "CCPlatformDefine.h"

class ViewBase
{
protected:
	void* mData;
public:
	ViewBase():mData(NULL){}
	~ViewBase(){mData = NULL;}
	void* getData(){return mData;}
	void setData(void* d){mData = d;}
	virtual void refresh(){}
};

#endif // ViewBase_h__